package com.mijackstudio.typefacedemo;

import android.app.Application;

import cat.ereza.customactivityoncrash.CustomActivityOnCrash;

/**
 * Created by MiJack on 2015/12/14.
 */
public class ProjectApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        CustomActivityOnCrash.install(this);
        FontManager.init(this).inflater("font1", "font/font1.ttf")
                .inflater("font2", "font/font2.ttf").inflater("icon", "font/iconfont.ttf")
                .setDefaultType(null);
    }
}
